﻿namespace HuaWeiCamera.Struct.Face
{
    /// <summary>
    /// 人脸属性
    /// INT 定义的属性 0 代表 未知，1-n依次代表后面的属性具体含义
    /// </summary>
    [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 4)]
    public struct META_FACE_ATTRIBUTES
    {
        public bool isVaild;
        /// <summary>
        /// 眼镜{无，有}
        /// </summary>
        public int glasses;
        /// <summary>
        /// 性别{女，男}
        /// </summary>
        public int gender;
        /// <summary>
        /// 年龄，具体的年龄值1~99
        /// </summary>
        public int age;
        /// <summary>
        /// 遮档 {无，是}
        /// </summary>
        public int mouthmask;
        /// <summary>
        /// 人脸表情{微笑、愤怒、悲伤、正常、惊讶}
        /// </summary>
        public int expression;
    }
}
